var mongoose = require('mongoose');
var Schema = mongoose.Schema;
//创建Schema
var userSchema = new Schema({
    nickName:String,   //????
    gender:Number,     //????
    avatarUrl:String,  //????
    language:String,   //????
    country:String,    //????
    province:String,   //????
    city:String,       //????
    user_address:Array,//????
    user_credit:String,//????
    user_gifts:Array,  //????
    user_given:Array,  //????
    user_phone:String, //????
    user_tickets:Array,//?????
    openid:String      //??openid
});
module.exports = userSchema;